import { HashRouter, BrowserRouter } from "react-router-dom";
import IndexRouter from "./router/index";
import "./common/css/index.css";
import MainHeader from "./component/main-header";
import MainFooter from "./component/main-footer";

function App() {
  return (
    <div className="pageWrap">
      <BrowserRouter>
        <MainHeader />
        <div className="mian">
          <IndexRouter />
        </div>
        <MainFooter />
      </BrowserRouter>
    </div>
  );
}

export default App;
